import request from '@/utils/request'

// 查询评教分数列表
export function listEvalScore(query) {
  return request({
    url: '/evaluate/evalScore/list',
    method: 'get',
    params: query
  })
}

// 查询评教分数详细
export function getEvalScore(id) {
  return request({
    url: '/evaluate/evalScore/' + id,
    method: 'get'
  })
}

// 新增评教分数
export function addEvalScore(data) {
  return request({
    url: '/evaluate/evalScore',
    method: 'post',
    data: data
  })
}


// 保存评教分数
export function saveEvalScore(data) {
  return request({
    url: '/evaluate/evalScore/save',
    method: 'post',
    data: data
  })
}

// 修改评教分数
export function updateEvalScore(data) {
  return request({
    url: '/evaluate/evalScore',
    method: 'put',
    data: data
  })
}

// 删除评教分数
export function delEvalScore(id) {
  return request({
    url: '/evaluate/evalScore/' + id,
    method: 'delete'
  })
}

// 导出评教分数
export function exportEvalScore(query) {
  return request({
    url: '/evaluate/evalScore/export',
    method: 'get',
    params: query
  })
}


// 查询评教分数列表
export function listTeacher(query) {
  return request({
    url: '/evaluate/evalScore/teacher',
    method: 'get',
    params: query
  })
}


// 查询评教分数列表
export function listTeacherScore(query) {
  return request({
    url: '/evaluate/evalScore/score',
    method: 'get',
    params: query
  })
}
